package cm.ph.shopping.facade.order.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.ph.shopping.common.core.base.BaseEntity;

public class PhManagerOrder extends BaseEntity {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/** 表流水 */
    private Long id;

    /** 订单号 */
    private String orderNo;

    /** 供应商id */
    private Long supplerId;

    /** 订单商品描述 */
    private String productName;

    /** 下单时间 */
    private Date deliveryTime;

    /** 联系人 */
    private String contact;

    /** 联系电话 */
    private String telPhone;

    /** 商品总金额 */
    private BigDecimal money;

    /** 物流费用 */
    private BigDecimal logisiticFee;

    /** 订单总金额(物流费用+商品总金额) */
    private BigDecimal totalCost;

    /** 状态(1待付款，2待发货，3确认收货，4,交易完成，5交易关闭，6退货中，7已退货) */
    private Integer status;

    /** 商品id */
    private Long productId;

    /** 代理商id */
    private Long agentId;

    /** 发货地址 */
    private Long sendAddressId;

    /** 物流公司 */
    private String logisticsName;

    /** 收货地址 */
    private Long managerAddrId;
    
    /** 详细地址 */
    private String adrressDetail;
    
    private List<PhPurchaseList> purchaseId;
    
	public List<PhPurchaseList> getPurchaseId() {
		return purchaseId;
	}

	public void setPurchaseId(List<PhPurchaseList> purchaseId) {
		this.purchaseId = purchaseId;
	}

	public String getAdrressDetail() {
		return adrressDetail;
	}

	public void setAdrressDetail(String adrressDetail) {
		this.adrressDetail = adrressDetail;
	}

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo == null ? null : orderNo.trim();
    }

    public Long getSupplerId() {
        return supplerId;
    }

    public void setSupplerId(Long supplerId) {
        this.supplerId = supplerId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public Date getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(Date deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact == null ? null : contact.trim();
    }

    public String getTelPhone() {
        return telPhone;
    }

    public void setTelPhone(String telPhone) {
        this.telPhone = telPhone == null ? null : telPhone.trim();
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public BigDecimal getLogisiticFee() {
        return logisiticFee;
    }

    public void setLogisiticFee(BigDecimal logisiticFee) {
        this.logisiticFee = logisiticFee;
    }

    public BigDecimal getTotalCost() {
        return totalCost;
    }

    public void setTotalCost(BigDecimal totalCost) {
        this.totalCost = totalCost;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getAgentId() {
        return agentId;
    }

    public void setAgentId(Long agentId) {
        this.agentId = agentId;
    }

    public Long getSendAddressId() {
        return sendAddressId;
    }

    public void setSendAddressId(Long sendAddressId) {
        this.sendAddressId = sendAddressId;
    }

    public String getLogisticsName() {
        return logisticsName;
    }

    public void setLogisticsName(String logisticsName) {
        this.logisticsName = logisticsName == null ? null : logisticsName.trim();
    }

    public Long getManagerAddrId() {
        return managerAddrId;
    }

    public void setManagerAddrId(Long managerAddrId) {
        this.managerAddrId = managerAddrId;
    }
}